﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using zhangmenren.Db;
using zhangmenren.Models;
using zhangmenren.Models.ViewModle;

namespace zhangmenren.IService
{
    public interface IChapterService : IDependency
    {
        Task<int> Add(ChapterEntity entity);

        Task<IEnumerable<ChapterEntity>> Selelct(int workId);

        Task<int> Del(int id);

        Task<IEnumerable<TuiJianModel>> FindByWork(int workId);

    }
}
